6 string l
[] = {"0", "1", "ABC", "DEF", "GHI", "JKL", "MNO", "PQRS", "TUV", "WXYZ"};
9 for (int i
=0; i
<10; ++i
){
10 if (l
[i
].find(c
) != string::npos
){
19 while (getline(cin
, s
)){
20 for (int i
=0; i
<s
.size(); ++i
){
21 if (s
[i
] == '-') cout
<< "-";
22 else cout
<< translate(s
[i
]);